推荐
专栏
教程
课程
飞鹅
本次共找到1071条
byte[]转string
相关的信息
Wesley13
•
3年前
java 获取 classpath下的配置文件
一获取prop属性文件:/读取属性文件Createdbylgon2017/2/3./publicclassLoadPropertiesFile{publicstaticMap<String,StringloadPropFile(Str
薛定谔的盒子猫
•
3年前
ThinkPHP V5.0 图片上传base64
/单图上传@returnbool|mixed|string/protectedfunctionuploadingqrcode($images'',$name'')if(empty($images))$thisresult($images,0,'图片错误');if(pregmatch('/^(data:\simag
Stella981
•
3年前
Json特殊字符处理
JSon数据中的String传递数据时,需要处理好特殊字符.JSon数据中有特殊字符:1:引号,如果是使用单引号,来括值的话,那String中 ' 单引号为特殊字符2:正斜杠,反斜杠,换行符号等。另外,必须用(")而非(')表示字符串:/JSON字符串特殊字符处理,比如
Wesley13
•
3年前
2014 春节发帖第 9 天:Go 语言的 RPC 介绍
标准库的RPCRPC是远程调用的简称,简单的说就是要调用本地函数一样调用服务器的函数.Go语言的标准库已经提供了RPC框架和不同的RPC实现.下面是一个服务器的例子:type Echo intfunc (t Arith) Hi(args string, reply string
Stella981
•
3年前
JVM调优YoungGC
先上代码:主函数:1.publicclassGCDemo{3.publicstaticvoidmain(String\\args)throwsInterruptedException{6.List<GCDataObjectlistnewArrayList<GCDat
Stella981
•
3年前
Android 显示网页图片
原WebView web;String url;web.getSettings().setUseWideViewPort(true);web.getSettings().setLoadWithOverviewMode(true);web.getSettings().setDisplayZoomControl
Stella981
•
3年前
Egret 类的创建和继承
classtestextendsegret.DisplayObjectContainer{/类的创建///属性name:string;age:number;ts:test;//可传参的构造方法publicconst
Wesley13
•
3年前
MyBatis 问题
nestedexceptionisorg.apache.ibatis.reflection.ReflectionException:Thereisnogetterforpropertynamed in'classjava.lang.String'Mapper.xml是这样的<selectid"findPl
Wesley13
•
3年前
PHP程序员最易犯10种错误
PHP是个伟大的web开发语言,灵活的语言,但是看到php程序员周而复始的犯的一些错误。我做了下面这个列表,列出了PHP程序员经常犯的10中错误,大多数和安全相关。看看你犯了几种1.不转意htmlentities一个基本的常识:所有不可信任的输入(特别是用户从form中提交的数据),输出之前都要转意。
Stella981
•
3年前
Linux下logrotate配置
logrotate程序是一个日志文件管理工具。用来把旧的日志文件更名或删除,并创建新的日志文件,我们把它叫做“转储”。是个使日志轮替的程序,有了它就不用看着自己的日志体积一天天的变大,而可以根据你自己的需求来设定日志转储。 ubuntu下logrotate配置文件路径:/etc/logrotate.conf /etc/logrota
1
•••
32
33
34
•••
108